package de.koller.million.grid.frame.enc;

import de.koller.million.grid.GridRoot;
import javax.swing.event.TreeModelListener;
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;

public class EncounterStarterModel implements TreeModel {
	
	private final GridRoot groot;

	public EncounterStarterModel( GridRoot groot ) {
		this.groot = groot;
	}

	@Override
	public void addTreeModelListener( TreeModelListener l ) {
		
	}

	@Override
	public Object getChild( Object parent, int index ) {
		return null;
	}

	@Override
	public int getChildCount( Object parent ) {
		return 0;
	}

	@Override
	public int getIndexOfChild( Object parent, Object child ) {
		return 0;
	}

	@Override
	public Object getRoot() {
		return "Test Encounter";
	}

	@Override
	public boolean isLeaf( Object node ) {
		return true;
	}

	@Override
	public void removeTreeModelListener( TreeModelListener l ) {
		
	}

	@Override
	public void valueForPathChanged( TreePath path, Object newValue ) {
		
	}
	
	
}
